\(\int \frac {1}{(d f+e f x)^3 (a+b (d+e x)^2+c (d+e x)^4)^2} \, dx\) [652]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [C] (verified)
   Fricas [B] (verification not implemented)
   Sympy [F(-1)]
   Maxima [F]
   Giac [B] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 33, antiderivative size = 228 \[ \int \frac {1}{(d f+e f x)^3 \left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=-\frac {b^2-3 a c}{a^2 \left (b^2-4 a c\right ) e f^3 (d+e x)^2}+\frac {b^2-2 a c+b c (d+e x)^2}{2 a \left (b^2-4 a c\right ) e f^3 (d+e x)^2 \left (a+b (d+e x)^2+c (d+e x)^4\right )}-\frac {\left (b^4-6 a b^2 c+6 a^2 c^2\right ) \text {arctanh}\left (\frac {b+2 c (d+e x)^2}{\sqrt {b^2-4 a c}}\right )}{a^3 \left (b^2-4 a c\right )^{3/2} e f^3}-\frac {2 b \log (d+e x)}{a^3 e f^3}+\frac {b \log \left (a+b (d+e x)^2+c (d+e x)^4\right )}{2 a^3 e f^3} \]

[Out]

(3*a*c-b^2)/a^2/(-4*a*c+b^2)/e/f^3/(e*x+d)^2+1/2*(b^2-2*a*c+b*c*(e*x+d)^2)/a/(-4*a*c+b^2)/e/f^3/(e*x+d)^2/(a+b
*(e*x+d)^2+c*(e*x+d)^4)-(6*a^2*c^2-6*a*b^2*c+b^4)*arctanh((b+2*c*(e*x+d)^2)/(-4*a*c+b^2)^(1/2))/a^3/(-4*a*c+b^
2)^(3/2)/e/f^3-2*b*ln(e*x+d)/a^3/e/f^3+1/2*b*ln(a+b*(e*x+d)^2+c*(e*x+d)^4)/a^3/e/f^3

Rubi [A] (verified)

Time = 0.24 (sec) , antiderivative size = 228, normalized size of antiderivative = 1.00, number of steps used = 9, number of rules used = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.242, Rules used = {1156, 1128, 754, 814, 648, 632, 212, 642} \[ \int \frac {1}{(d f+e f x)^3 \left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\frac {b \log \left (a+b (d+e x)^2+c (d+e x)^4\right )}{2 a^3 e f^3}-\frac {2 b \log (d+e x)}{a^3 e f^3}-\frac {b^2-3 a c}{a^2 e f^3 \left (b^2-4 a c\right ) (d+e x)^2}-\frac {\left (6 a^2 c^2-6 a b^2 c+b^4\right ) \text {arctanh}\left (\frac {b+2 c (d+e x)^2}{\sqrt {b^2-4 a c}}\right )}{a^3 e f^3 \left (b^2-4 a c\right )^{3/2}}+\frac {-2 a c+b^2+b c (d+e x)^2}{2 a e f^3 \left (b^2-4 a c\right ) (d+e x)^2 \left (a+b (d+e x)^2+c (d+e x)^4\right )} \]

[In]

Int[1/((d*f + e*f*x)^3*(a + b*(d + e*x)^2 + c*(d + e*x)^4)^2),x]

[Out]

-((b^2 - 3*a*c)/(a^2*(b^2 - 4*a*c)*e*f^3*(d + e*x)^2)) + (b^2 - 2*a*c + b*c*(d + e*x)^2)/(2*a*(b^2 - 4*a*c)*e*
f^3*(d + e*x)^2*(a + b*(d + e*x)^2 + c*(d + e*x)^4)) - ((b^4 - 6*a*b^2*c + 6*a^2*c^2)*ArcTanh[(b + 2*c*(d + e*
x)^2)/Sqrt[b^2 - 4*a*c]])/(a^3*(b^2 - 4*a*c)^(3/2)*e*f^3) - (2*b*Log[d + e*x])/(a^3*e*f^3) + (b*Log[a + b*(d +
 e*x)^2 + c*(d + e*x)^4])/(2*a^3*e*f^3)

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 632

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Dist[-2, Subst[Int[1/Simp[b^2 - 4*a*c - x^2, x], x]
, x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 642

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[d*(Log[RemoveContent[a + b*x +
c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 648

Int[((d_.) + (e_.)*(x_))/((a_) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Dist[(2*c*d - b*e)/(2*c), Int[1/(a +
 b*x + c*x^2), x], x] + Dist[e/(2*c), Int[(b + 2*c*x)/(a + b*x + c*x^2), x], x] /; FreeQ[{a, b, c, d, e}, x] &
& NeQ[2*c*d - b*e, 0] && NeQ[b^2 - 4*a*c, 0] &&  !NiceSqrtQ[b^2 - 4*a*c]

Rule 754

Int[((d_.) + (e_.)*(x_))^(m_)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[(d + e*x)^(m + 1)*(b
*c*d - b^2*e + 2*a*c*e + c*(2*c*d - b*e)*x)*((a + b*x + c*x^2)^(p + 1)/((p + 1)*(b^2 - 4*a*c)*(c*d^2 - b*d*e +
 a*e^2))), x] + Dist[1/((p + 1)*(b^2 - 4*a*c)*(c*d^2 - b*d*e + a*e^2)), Int[(d + e*x)^m*Simp[b*c*d*e*(2*p - m
+ 2) + b^2*e^2*(m + p + 2) - 2*c^2*d^2*(2*p + 3) - 2*a*c*e^2*(m + 2*p + 3) - c*e*(2*c*d - b*e)*(m + 2*p + 4)*x
, x]*(a + b*x + c*x^2)^(p + 1), x], x] /; FreeQ[{a, b, c, d, e, m}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b
*d*e + a*e^2, 0] && NeQ[2*c*d - b*e, 0] && LtQ[p, -1] && IntQuadraticQ[a, b, c, d, e, m, p, x]

Rule 814

Int[(((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_)))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Int[Exp
andIntegrand[(d + e*x)^m*((f + g*x)/(a + b*x + c*x^2)), x], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[b^2 -
 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && IntegerQ[m]

Rule 1128

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_.), x_Symbol] :> Dist[1/2, Subst[Int[x^((m - 1)/2)*(a +
 b*x + c*x^2)^p, x], x, x^2], x] /; FreeQ[{a, b, c, p}, x] && IntegerQ[(m - 1)/2]

Rule 1156

Int[(u_)^(m_.)*((a_.) + (b_.)*(v_)^2 + (c_.)*(v_)^4)^(p_.), x_Symbol] :> Dist[u^m/(Coefficient[v, x, 1]*v^m),
Subst[Int[x^m*(a + b*x^2 + c*x^(2*2))^p, x], x, v], x] /; FreeQ[{a, b, c, m, p}, x] && LinearPairQ[u, v, x]

Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {1}{x^3 \left (a+b x^2+c x^4\right )^2} \, dx,x,d+e x\right )}{e f^3} \\ & = \frac {\text {Subst}\left (\int \frac {1}{x^2 \left (a+b x+c x^2\right )^2} \, dx,x,(d+e x)^2\right )}{2 e f^3} \\ & = \frac {b^2-2 a c+b c (d+e x)^2}{2 a \left (b^2-4 a c\right ) e f^3 (d+e x)^2 \left (a+b (d+e x)^2+c (d+e x)^4\right )}-\frac {\text {Subst}\left (\int \frac {-2 \left (b^2-3 a c\right )-2 b c x}{x^2 \left (a+b x+c x^2\right )} \, dx,x,(d+e x)^2\right )}{2 a \left (b^2-4 a c\right ) e f^3} \\ & = \frac {b^2-2 a c+b c (d+e x)^2}{2 a \left (b^2-4 a c\right ) e f^3 (d+e x)^2 \left (a+b (d+e x)^2+c (d+e x)^4\right )}-\frac {\text {Subst}\left (\int \left (\frac {2 \left (-b^2+3 a c\right )}{a x^2}-\frac {2 b \left (-b^2+4 a c\right )}{a^2 x}+\frac {2 \left (-b^4+5 a b^2 c-3 a^2 c^2-b c \left (b^2-4 a c\right ) x\right )}{a^2 \left (a+b x+c x^2\right )}\right ) \, dx,x,(d+e x)^2\right )}{2 a \left (b^2-4 a c\right ) e f^3} \\ & = -\frac {b^2-3 a c}{a^2 \left (b^2-4 a c\right ) e f^3 (d+e x)^2}+\frac {b^2-2 a c+b c (d+e x)^2}{2 a \left (b^2-4 a c\right ) e f^3 (d+e x)^2 \left (a+b (d+e x)^2+c (d+e x)^4\right )}-\frac {2 b \log (d+e x)}{a^3 e f^3}-\frac {\text {Subst}\left (\int \frac {-b^4+5 a b^2 c-3 a^2 c^2-b c \left (b^2-4 a c\right ) x}{a+b x+c x^2} \, dx,x,(d+e x)^2\right )}{a^3 \left (b^2-4 a c\right ) e f^3} \\ & = -\frac {b^2-3 a c}{a^2 \left (b^2-4 a c\right ) e f^3 (d+e x)^2}+\frac {b^2-2 a c+b c (d+e x)^2}{2 a \left (b^2-4 a c\right ) e f^3 (d+e x)^2 \left (a+b (d+e x)^2+c (d+e x)^4\right )}-\frac {2 b \log (d+e x)}{a^3 e f^3}+\frac {b \text {Subst}\left (\int \frac {b+2 c x}{a+b x+c x^2} \, dx,x,(d+e x)^2\right )}{2 a^3 e f^3}+\frac {\left (b^4-6 a b^2 c+6 a^2 c^2\right ) \text {Subst}\left (\int \frac {1}{a+b x+c x^2} \, dx,x,(d+e x)^2\right )}{2 a^3 \left (b^2-4 a c\right ) e f^3} \\ & = -\frac {b^2-3 a c}{a^2 \left (b^2-4 a c\right ) e f^3 (d+e x)^2}+\frac {b^2-2 a c+b c (d+e x)^2}{2 a \left (b^2-4 a c\right ) e f^3 (d+e x)^2 \left (a+b (d+e x)^2+c (d+e x)^4\right )}-\frac {2 b \log (d+e x)}{a^3 e f^3}+\frac {b \log \left (a+b (d+e x)^2+c (d+e x)^4\right )}{2 a^3 e f^3}-\frac {\left (b^4-6 a b^2 c+6 a^2 c^2\right ) \text {Subst}\left (\int \frac {1}{b^2-4 a c-x^2} \, dx,x,b+2 c (d+e x)^2\right )}{a^3 \left (b^2-4 a c\right ) e f^3} \\ & = -\frac {b^2-3 a c}{a^2 \left (b^2-4 a c\right ) e f^3 (d+e x)^2}+\frac {b^2-2 a c+b c (d+e x)^2}{2 a \left (b^2-4 a c\right ) e f^3 (d+e x)^2 \left (a+b (d+e x)^2+c (d+e x)^4\right )}-\frac {\left (b^4-6 a b^2 c+6 a^2 c^2\right ) \tanh ^{-1}\left (\frac {b+2 c (d+e x)^2}{\sqrt {b^2-4 a c}}\right )}{a^3 \left (b^2-4 a c\right )^{3/2} e f^3}-\frac {2 b \log (d+e x)}{a^3 e f^3}+\frac {b \log \left (a+b (d+e x)^2+c (d+e x)^4\right )}{2 a^3 e f^3} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.31 (sec) , antiderivative size = 287, normalized size of antiderivative = 1.26 \[ \int \frac {1}{(d f+e f x)^3 \left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\frac {-\frac {a}{(d+e x)^2}+\frac {a \left (b^3-3 a b c+b^2 c (d+e x)^2-2 a c^2 (d+e x)^2\right )}{\left (-b^2+4 a c\right ) \left (a+b (d+e x)^2+c (d+e x)^4\right )}-4 b \log (d+e x)+\frac {\left (b^4-6 a b^2 c+6 a^2 c^2+b^3 \sqrt {b^2-4 a c}-4 a b c \sqrt {b^2-4 a c}\right ) \log \left (b-\sqrt {b^2-4 a c}+2 c (d+e x)^2\right )}{\left (b^2-4 a c\right )^{3/2}}+\frac {\left (-b^4+6 a b^2 c-6 a^2 c^2+b^3 \sqrt {b^2-4 a c}-4 a b c \sqrt {b^2-4 a c}\right ) \log \left (b+\sqrt {b^2-4 a c}+2 c (d+e x)^2\right )}{\left (b^2-4 a c\right )^{3/2}}}{2 a^3 e f^3} \]

[In]

Integrate[1/((d*f + e*f*x)^3*(a + b*(d + e*x)^2 + c*(d + e*x)^4)^2),x]

[Out]

(-(a/(d + e*x)^2) + (a*(b^3 - 3*a*b*c + b^2*c*(d + e*x)^2 - 2*a*c^2*(d + e*x)^2))/((-b^2 + 4*a*c)*(a + b*(d +
e*x)^2 + c*(d + e*x)^4)) - 4*b*Log[d + e*x] + ((b^4 - 6*a*b^2*c + 6*a^2*c^2 + b^3*Sqrt[b^2 - 4*a*c] - 4*a*b*c*
Sqrt[b^2 - 4*a*c])*Log[b - Sqrt[b^2 - 4*a*c] + 2*c*(d + e*x)^2])/(b^2 - 4*a*c)^(3/2) + ((-b^4 + 6*a*b^2*c - 6*
a^2*c^2 + b^3*Sqrt[b^2 - 4*a*c] - 4*a*b*c*Sqrt[b^2 - 4*a*c])*Log[b + Sqrt[b^2 - 4*a*c] + 2*c*(d + e*x)^2])/(b^
2 - 4*a*c)^(3/2))/(2*a^3*e*f^3)

Maple [C] (verified)

Result contains higher order function than in optimal. Order 9 vs. order 3.

Time = 0.81 (sec) , antiderivative size = 466, normalized size of antiderivative = 2.04

method result size
default \(\frac {-\frac {\frac {\frac {e a c \left (2 a c -b^{2}\right ) x^{2}}{8 a c -2 b^{2}}+\frac {c d a \left (2 a c -b^{2}\right ) x}{4 a c -b^{2}}+\frac {a \left (2 a \,c^{2} d^{2}-b^{2} c \,d^{2}+3 a b c -b^{3}\right )}{2 e \left (4 a c -b^{2}\right )}}{c \,x^{4} e^{4}+4 c d \,e^{3} x^{3}+6 c \,d^{2} e^{2} x^{2}+4 c \,d^{3} e x +b \,e^{2} x^{2}+d^{4} c +2 b d e x +b \,d^{2}+a}+\frac {\munderset {\textit {\_R} =\operatorname {RootOf}\left (c \,e^{4} \textit {\_Z}^{4}+4 c d \,e^{3} \textit {\_Z}^{3}+\left (6 c \,d^{2} e^{2}+b \,e^{2}\right ) \textit {\_Z}^{2}+\left (4 d^{3} e c +2 b d e \right ) \textit {\_Z} +d^{4} c +b \,d^{2}+a \right )}{\sum }\frac {\left (e^{3} b c \left (-4 a c +b^{2}\right ) \textit {\_R}^{3}+3 d \,e^{2} b c \left (-4 a c +b^{2}\right ) \textit {\_R}^{2}+e \left (-12 b \,c^{2} d^{2} a +3 b^{3} c \,d^{2}+3 a^{2} c^{2}-5 a \,b^{2} c +b^{4}\right ) \textit {\_R} -4 a b \,c^{2} d^{3}+b^{3} c \,d^{3}+3 a^{2} c^{2} d -5 a \,b^{2} c d +d \,b^{4}\right ) \ln \left (x -\textit {\_R} \right )}{2 e^{3} c \,\textit {\_R}^{3}+6 c d \,e^{2} \textit {\_R}^{2}+6 c \,d^{2} e \textit {\_R} +2 d^{3} c +b e \textit {\_R} +b d}}{\left (4 a c -b^{2}\right ) e}}{a^{3}}-\frac {1}{2 a^{2} e \left (e x +d \right )^{2}}-\frac {2 b \ln \left (e x +d \right )}{a^{3} e}}{f^{3}}\) \(466\)
risch \(\text {Expression too large to display}\) \(1064\)

[In]

int(1/(e*f*x+d*f)^3/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x,method=_RETURNVERBOSE)

[Out]

1/f^3*(-1/a^3*((1/2*e*a*c*(2*a*c-b^2)/(4*a*c-b^2)*x^2+c*d*a*(2*a*c-b^2)/(4*a*c-b^2)*x+1/2/e*a*(2*a*c^2*d^2-b^2
*c*d^2+3*a*b*c-b^3)/(4*a*c-b^2))/(c*e^4*x^4+4*c*d*e^3*x^3+6*c*d^2*e^2*x^2+4*c*d^3*e*x+b*e^2*x^2+c*d^4+2*b*d*e*
x+b*d^2+a)+1/(4*a*c-b^2)/e*sum((e^3*b*c*(-4*a*c+b^2)*_R^3+3*d*e^2*b*c*(-4*a*c+b^2)*_R^2+e*(-12*a*b*c^2*d^2+3*b
^3*c*d^2+3*a^2*c^2-5*a*b^2*c+b^4)*_R-4*a*b*c^2*d^3+b^3*c*d^3+3*a^2*c^2*d-5*a*b^2*c*d+d*b^4)/(2*_R^3*c*e^3+6*_R
^2*c*d*e^2+6*_R*c*d^2*e+2*c*d^3+_R*b*e+b*d)*ln(x-_R),_R=RootOf(c*e^4*_Z^4+4*c*d*e^3*_Z^3+(6*c*d^2*e^2+b*e^2)*_
Z^2+(4*c*d^3*e+2*b*d*e)*_Z+d^4*c+b*d^2+a)))-1/2/a^2/e/(e*x+d)^2-2*b*ln(e*x+d)/a^3/e)

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 2237 vs. \(2 (220) = 440\).

Time = 1.19 (sec) , antiderivative size = 4604, normalized size of antiderivative = 20.19 \[ \int \frac {1}{(d f+e f x)^3 \left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\text {Too large to display} \]

[In]

integrate(1/(e*f*x+d*f)^3/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x, algorithm="fricas")

[Out]

[-1/2*(2*(a*b^4*c - 7*a^2*b^2*c^2 + 12*a^3*c^3)*e^4*x^4 + 8*(a*b^4*c - 7*a^2*b^2*c^2 + 12*a^3*c^3)*d*e^3*x^3 +
 a^2*b^4 - 8*a^3*b^2*c + 16*a^4*c^2 + 2*(a*b^4*c - 7*a^2*b^2*c^2 + 12*a^3*c^3)*d^4 + (2*a*b^5 - 15*a^2*b^3*c +
 28*a^3*b*c^2 + 12*(a*b^4*c - 7*a^2*b^2*c^2 + 12*a^3*c^3)*d^2)*e^2*x^2 + (2*a*b^5 - 15*a^2*b^3*c + 28*a^3*b*c^
2)*d^2 + 2*(4*(a*b^4*c - 7*a^2*b^2*c^2 + 12*a^3*c^3)*d^3 + (2*a*b^5 - 15*a^2*b^3*c + 28*a^3*b*c^2)*d)*e*x + ((
b^4*c - 6*a*b^2*c^2 + 6*a^2*c^3)*e^6*x^6 + 6*(b^4*c - 6*a*b^2*c^2 + 6*a^2*c^3)*d*e^5*x^5 + (b^5 - 6*a*b^3*c +
6*a^2*b*c^2 + 15*(b^4*c - 6*a*b^2*c^2 + 6*a^2*c^3)*d^2)*e^4*x^4 + (b^4*c - 6*a*b^2*c^2 + 6*a^2*c^3)*d^6 + 4*(5
*(b^4*c - 6*a*b^2*c^2 + 6*a^2*c^3)*d^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} \, dx=\text {Timed out} \]

[In]

integrate(1/(e*f*x+d*f)**3/(a+b*(e*x+d)**2+c*(e*x+d)**4)**2,x)

[Out]

Timed out

Maxima [F]

\[ \int \frac {1}{(d f+e f x)^3 \left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\int { \frac {1}{{\left ({\left (e x + d\right )}^{4} c + {\left (e x + d\right )}^{2} b + a\right )}^{2} {\left (e f x + d f\right )}^{3}} \,d x } \]

[In]

integrate(1/(e*f*x+d*f)^3/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x, algorithm="maxima")

[Out]

-1/2*(2*(b^2*c - 3*a*c^2)*e^4*x^4 + 8*(b^2*c - 3*a*c^2)*d*e^3*x^3 + 2*(b^2*c - 3*a*c^2)*d^4 + (2*b^3 - 7*a*b*c
 + 12*(b^2*c - 3*a*c^2)*d^2)*e^2*x^2 + a*b^2 - 4*a^2*c + (2*b^3 - 7*a*b*c)*d^2 + 2*(4*(b^2*c - 3*a*c^2)*d^3 +
(2*b^3 - 7*a*b*c)*d)*e*x)/((a^2*b^2*c - 4*a^3*c^2)*e^7*f^3*x^6 + 6*(a^2*b^2*c - 4*a^3*c^2)*d*e^6*f^3*x^5 + (a^
2*b^3 - 4*a^3*b*c + 15*(a^2*b^2*c - 4*a^3*c^2)*d^2)*e^5*f^3*x^4 + 4*(5*(a^2*b^2*c - 4*a^3*c^2)*d^3 + (a^2*b^3
- 4*a^3*b*c)*d)*e^4*f^3*x^3 + (a^3*b^2 - 4*a^4*c + 15*(a^2*b^2*c - 4*a^3*c^2)*d^4 + 6*(a^2*b^3 - 4*a^3*b*c)*d^
2)*e^3*f^3*x^2 + 2*(3*(a^2*b^2*c - 4*a^3*c^2)*d^5 + 2*(a^2*b^3 - 4*a^3*b*c)*d^3 + (a^3*b^2 - 4*a^4*c)*d)*e^2*f
^3*x + ((a^2*b^2*c - 4*a^3*c^2)*d^6 + (a^2*b^3 - 4*a^3*b*c)*d^4 + (a^3*b^2 - 4*a^4*c)*d^2)*e*f^3) + 2*integrat
e(((b^3*c - 4*a*b*c^2)*e^3*x^3 + 3*(b^3*c - 4*a*b*c^2)*d*e^2*x^2 + (b^3*c - 4*a*b*c^2)*d^3 + (b^4 - 5*a*b^2*c
+ 3*a^2*c^2 + 3*(b^3*c - 4*a*b*c^2)*d^2)*e*x + (b^4 - 5*a*b^2*c + 3*a^2*c^2)*d)/((b^2*c - 4*a*c^2)*e^4*x^4 + 4
*(b^2*c - 4*a*c^2)*d*e^3*x^3 + (b^2*c - 4*a*c^2)*d^4 + (b^3 - 4*a*b*c + 6*(b^2*c - 4*a*c^2)*d^2)*e^2*x^2 + a*b
^2 - 4*a^2*c + (b^3 - 4*a*b*c)*d^2 + 2*(2*(b^2*c - 4*a*c^2)*d^3 + (b^3 - 4*a*b*c)*d)*e*x), x)/(a^3*f^3) - 2*b*
log(e*x + d)/(a^3*e*f^3)

Giac [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 705 vs. \(2 (220) = 440\).

Time = 0.41 (sec) , antiderivative size = 705, normalized size of antiderivative = 3.09 \[ \int \frac {1}{(d f+e f x)^3 \left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\frac {{\left (a^{3} b^{4} c e^{3} f^{3} - 6 \, a^{4} b^{2} c^{2} e^{3} f^{3} + 6 \, a^{5} c^{3} e^{3} f^{3}\right )} \sqrt {b^{2} - 4 \, a c} \log \left ({\left | b e^{2} x^{2} + \sqrt {b^{2} - 4 \, a c} e^{2} x^{2} + 2 \, b d e x + 2 \, \sqrt {b^{2} - 4 \, a c} d e x + b d^{2} + \sqrt {b^{2} - 4 \, a c} d^{2} + 2 \, a \right |}\right ) - {\left (a^{3} b^{4} c e^{3} f^{3} - 6 \, a^{4} b^{2} c^{2} e^{3} f^{3} + 6 \, a^{5} c^{3} e^{3} f^{3}\right )} \sqrt {b^{2} - 4 \, a c} \log \left ({\left | -b e^{2} x^{2} + \sqrt {b^{2} - 4 \, a c} e^{2} x^{2} - 2 \, b d e x + 2 \, \sqrt {b^{2} - 4 \, a c} d e x - b d^{2} + \sqrt {b^{2} - 4 \, a c} d^{2} - 2 \, a \right |}\right )}{2 \, {\left (a^{6} b^{4} c e^{4} f^{6} - 8 \, a^{7} b^{2} c^{2} e^{4} f^{6} + 16 \, a^{8} c^{3} e^{4} f^{6}\right )}} + \frac {b \log \left ({\left | c e^{4} x^{4} + 4 \, c d e^{3} x^{3} + 6 \, c d^{2} e^{2} x^{2} + 4 \, c d^{3} e x + c d^{4} + b e^{2} x^{2} + 2 \, b d e x + b d^{2} + a \right |}\right )}{2 \, a^{3} e f^{3}} - \frac {2 \, b \log \left ({\left | e x + d \right |}\right )}{a^{3} e f^{3}} - \frac {2 \, a b^{2} c d^{4} - 6 \, a^{2} c^{2} d^{4} + 2 \, a b^{3} d^{2} - 7 \, a^{2} b c d^{2} + 2 \, {\left (a b^{2} c e^{4} - 3 \, a^{2} c^{2} e^{4}\right )} x^{4} + a^{2} b^{2} - 4 \, a^{3} c + 8 \, {\left (a b^{2} c d e^{3} - 3 \, a^{2} c^{2} d e^{3}\right )} x^{3} + {\left (12 \, a b^{2} c d^{2} e^{2} - 36 \, a^{2} c^{2} d^{2} e^{2} + 2 \, a b^{3} e^{2} - 7 \, a^{2} b c e^{2}\right )} x^{2} + 2 \, {\left (4 \, a b^{2} c d^{3} e - 12 \, a^{2} c^{2} d^{3} e + 2 \, a b^{3} d e - 7 \, a^{2} b c d e\right )} x}{2 \, {\left (c e^{4} x^{4} + 4 \, c d e^{3} x^{3} + 6 \, c d^{2} e^{2} x^{2} + 4 \, c d^{3} e x + c d^{4} + b e^{2} x^{2} + 2 \, b d e x + b d^{2} + a\right )} {\left (b^{2} - 4 \, a c\right )} {\left (e x + d\right )}^{2} a^{3} e f^{3}} \]

[In]

integrate(1/(e*f*x+d*f)^3/(a+b*(e*x+d)^2+c*(e*x+d)^4)^2,x, algorithm="giac")

[Out]

1/2*((a^3*b^4*c*e^3*f^3 - 6*a^4*b^2*c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a^3*e*f^3)

Mupad [B] (verification not implemented)

Time = 15.94 (sec) , antiderivative size = 14830, normalized size of antiderivative = 65.04 \[ \int \frac {1}{(d f+e f x)^3 \left (a+b (d+e x)^2+c (d+e x)^4\right )^2} \, dx=\text {Too large to display} \]

[In]

int(1/((d*f + e*f*x)^3*(a + b*(d + e*x)^2 + c*(d + e*x)^4)^2),x)

[Out]

((x*(2*b^3*d - 12*a*c^2*d^3 + 4*b^2*c*d^3 - 7*a*b*c*d))/(4*a^3*c - a^2*b^2) - (x^4*(3*a*c^2*e^3 - b^2*c*e^3))/
(4*a^3*c - a^2*b^2) - (4*x^3*(3*a*c^2*d*e^2 - b^2*c*d*e^2))/(4*a^3*c - a^2*b^2) + (a*b^2 - 4*a^2*c + 2*b^3*d^2
 - 6*a*c^2*d^4 + 2*b^2*c*d^4 - 7*a*b*c*d^2)/(2*e*(4*a^3*c - a^2*b^2)) + (x^2*(2*b^3*e - 36*a*c^2*d^2*e + 12*b^
2*c*d^2*e - 7*a*b*c*e))/(2*(4*a^3*c - a^2*b^2)))/(x^3*(20*c*d^3*e^3*f^3 + 4*b*d*e^3*f^3) + x*(2*a*d*e*f^3 + 4*
b*d^3*e*f^3 + 6*c*d^5*e*f^3) + x^4*(b*e^4*f^3 + 15*c*d^2*e^4*f^3) + x^2*(a*e^2*f^3 + 6*b*d^2*e^2*f^3 + 15*c*d^
4*e^2*f^3) + a*d^2*f^3 + b*d^4*f^3 + c*d^6*f^3 + c*e^6*f^3*x^6 + 6*c*d*e^5*f^3*x^5) + (log((((b + a^3*e*f^3*(-
(b^4 + 6*a^2*c^2 - 6*a*b^2*c)^2/(a^6*e^2*f^6*(4*a*c - b^2)^3))^(1/2))*(((b + a^3*e*f^3*(-(b^4 + 6*a^2*c^2 - 6*
a*b^2*c)^2/(a^6*e^2*f^6*(4*a*c - b^2)^3))^(1/2))*((4*c^2*e^16*(2*b^5 + 6*a^2*b*c^2 + b^4*c*d^2 - 30*a^2*c^3*d^
2 - 10*a*b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6 - 64*a^6*c^3*e^2*f^6 + 48*a^5*b^2*c^2*e^2*f^6 - 12*a^4*b^4*c*e^2*f^6)) - (
2*b*log(d + e*x))/(a^3*e*f^3) - (atan(((2*a^9*b^6*f^9*(4*a*c - b^2)^(9/2) - 128*a^12*c^3*f^9*(4*a*c - b^2)^(9/
2) - 24*a^10*b^4*c*f^9*(4*a*c - b^2)^(9/2) + 96*a^11*b^2*c^2*f^9*(4*a*c - b^2)^(9/2))*(x*((((8*(54*a^3*c^8*d*e
^15 - 2*b^6*c^5*d*e^15 + 18*a*b^4*c^6*d*e^15 - 54*a^2*b^2*c^7*d*e^15))/(a^6*b^6*f^9 - 64*a^9*c^3*f^9 - 12*a^7*
b^4*c*f^9 + 48*a^8*b^2*c^2*f^9) - (((8*(276*a^5*b*c^7*d*e^16*f^3 - 6*a^2*b^7*c^4*d*e^16*f^3 + 65*a^3*b^5*c^5*d
*e^16*f^3 - 233*a^4*b^3*c^6*d*e^16*f^3))/(a^6*b^6*f^9 - 64*a^9*c^3*f^9 - 12*a^7*b^4*c*f^9 + 48*a^8*b^2*c^2*f^9
) - (((8*(480*a^8*c^7*d*e^17*f^6 - a^4*b^8*c^3*d*e^17*f^6 + 6*a^5*b^6*c^4*d*e^17*f^6 + 30*a^6*b^4*c^5*d*e^17*f
^6 - 272*a^7*b^2*c^6*d*e^17*f^6))/(a^6*b^6*f^9 - 64*a^9*c^3*f^9 - 12*a^7*b^4*c*f^9 + 48*a^8*b^2*c^2*f^9) - (4*
(b^7*e*f^3 - 12*a*b^5*c*e*f^3 - 64*a^3*b*c^3*e*f^3 + 48*a^2*b^3*c^2*e*f^3)*(640*a^10*b*c^6*d*e^18*f^9 + 3*a^6*
b^9*c^2*d*e^18*f^9 - 46*a^7*b^7*c^3*d*e^18*f^9 + 264*a^8*b^5*c^4*d*e^18*f^9 - 672*a^9*b^3*c^5*d*e^18*f^9))/((a
^6*b^6*f^9 - 64*a^9*c^3*f^9 - 12*a^7*b^4*c*f^9 + 48*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